package com.neusoft.neu24;

import com.alibaba.fastjson2.JSONObject;
import com.neusoft.neu24.entity.Member;

import java.util.Date;

public class MainApp {
    public static void main(String[] args) {
        Member member = new Member();
        member.setId(1);
        member.setLogid("admin");
        member.setLogpwd("123456");
        member.setMname("admin");
        member.setTel("15511112222");
        member.setBirth(new Date());
        member.setRoleid(1);
        member.setGender("男");
        member.setRole(null);
        String s = JSONObject.toJSONString(member);
        System.out.println(s);

    }
}
